TaxJar\Order_Tax_Applicator S

Total Complexity 22
Dependencies 4
Dependents 1
Total lines 209
Lines of code 110
Logical lines of code 55
Comment lines 72
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
sum_taxes()
S
58 4 16
create_rate_and_apply_to_product_line_item()
S
56 2 17
apply_tax_to_line_items()
S
73 2 5
apply_tax_to_fees()
S
72 2 5
apply_tax_to_shipping_items()
S
74 2 5
apply_tax_to_shipping_item()
S
66 2 8
apply_fee_tax()
S
60 1 14
__construct()
S
81 1 3
remove_existing_tax()
S
81 1 3
apply_new_tax()
S
67 1 9
apply_zero_tax_to_item()
S
81 1 3
update_totals()
S
71 1 5
get_order_total()
S
68 1 7
get_cart_total_for_order()
S
64 1 10